3.1.93 \(\int \frac {x (A+B x^2)}{(a+b x^2)^3} \, dx\) [93]

Optimal. Leaf size=32 \[ -\frac {\left (A+B x^2\right )^2}{4 (A b-a B) \left (a+b x^2\right )^2} \]

[Out]

-1/4*(B*x^2+A)^2/(A*b-B*a)/(b*x^2+a)^2

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {455, 37} \begin {gather*} -\frac {\left (A+B x^2\right )^2}{4 \left (a+b x^2\right )^2 (A b-a B)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(x*(A + B*x^2))/(a + b*x^2)^3,x]

[Out]

-1/4*(A + B*x^2)^2/((A*b - a*B)*(a + b*x^2)^2)

Rule 37

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(a + b*x)^(m + 1)*((c + d*x)^(n +
1)/((b*c - a*d)*(m + 1))), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n + 2, 0] && NeQ
[m, -1]

Rule 455

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Dist[1/n, Subst[Int
[(a + b*x)^p*(c + d*x)^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x] && NeQ[b*c - a*d, 0] && EqQ[m
- n + 1, 0]

Rubi steps

\begin {align*} \int \frac {x \left (A+B x^2\right )}{\left (a+b x^2\right )^3} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {A+B x}{(a+b x)^3} \, dx,x,x^2\right )\\ &=-\frac {\left (A+B x^2\right )^2}{4 (A b-a B) \left (a+b x^2\right )^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 30, normalized size = 0.94 \begin {gather*} -\frac {A b+B \left (a+2 b x^2\right )}{4 b^2 \left (a+b x^2\right )^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(x*(A + B*x^2))/(a + b*x^2)^3,x]

[Out]

-1/4*(A*b + B*(a + 2*b*x^2))/(b^2*(a + b*x^2)^2)

________________________________________________________________________________________

Maple [A]
time = 0.07, size = 39, normalized size = 1.22

method result size
gosper \(-\frac {2 b B \,x^{2}+A b +B a}{4 b^{2} \left (b \,x^{2}+a \right )^{2}}\) \(29\)
norman \(\frac {-\frac {B \,x^{2}}{2 b}-\frac {A b +B a}{4 b^{2}}}{\left (b \,x^{2}+a \right )^{2}}\) \(33\)
risch \(\frac {-\frac {B \,x^{2}}{2 b}-\frac {A b +B a}{4 b^{2}}}{\left (b \,x^{2}+a \right )^{2}}\) \(33\)
default \(-\frac {A b -B a}{4 b^{2} \left (b \,x^{2}+a \right )^{2}}-\frac {B}{2 b^{2} \left (b \,x^{2}+a \right )}\) \(39\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(B*x^2+A)/(b*x^2+a)^3,x,method=_RETURNVERBOSE)

[Out]

-1/4/b^2*(A*b-B*a)/(b*x^2+a)^2-1/2*B/b^2/(b*x^2+a)

________________________________________________________________________________________

Maxima [A]
time = 0.28, size = 42, normalized size = 1.31 \begin {gather*} -\frac {2 \, B b x^{2} + B a + A b}{4 \, {\left (b^{4} x^{4} + 2 \, a b^{3} x^{2} + a^{2} b^{2}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(B*x^2+A)/(b*x^2+a)^3,x, algorithm="maxima")

[Out]

-1/4*(2*B*b*x^2 + B*a + A*b)/(b^4*x^4 + 2*a*b^3*x^2 + a^2*b^2)

________________________________________________________________________________________

Fricas [A]
time = 0.93, size = 42, normalized size = 1.31 \begin {gather*} -\frac {2 \, B b x^{2} + B a + A b}{4 \, {\left (b^{4} x^{4} + 2 \, a b^{3} x^{2} + a^{2} b^{2}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(B*x^2+A)/(b*x^2+a)^3,x, algorithm="fricas")

[Out]

-1/4*(2*B*b*x^2 + B*a + A*b)/(b^4*x^4 + 2*a*b^3*x^2 + a^2*b^2)

________________________________________________________________________________________

Sympy [A]
time = 0.28, size = 42, normalized size = 1.31 \begin {gather*} \frac {- A b - B a - 2 B b x^{2}}{4 a^{2} b^{2} + 8 a b^{3} x^{2} + 4 b^{4} x^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(B*x**2+A)/(b*x**2+a)**3,x)

[Out]

(-A*b - B*a - 2*B*b*x**2)/(4*a**2*b**2 + 8*a*b**3*x**2 + 4*b**4*x**4)

________________________________________________________________________________________

Giac [A]
time = 1.44, size = 28, normalized size = 0.88 \begin {gather*} -\frac {2 \, B b x^{2} + B a + A b}{4 \, {\left (b x^{2} + a\right )}^{2} b^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(B*x^2+A)/(b*x^2+a)^3,x, algorithm="giac")

[Out]

-1/4*(2*B*b*x^2 + B*a + A*b)/((b*x^2 + a)^2*b^2)

________________________________________________________________________________________

Mupad [B]
time = 0.04, size = 44, normalized size = 1.38 \begin {gather*} -\frac {\frac {A\,b+B\,a}{4\,b^2}+\frac {B\,x^2}{2\,b}}{a^2+2\,a\,b\,x^2+b^2\,x^4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x*(A + B*x^2))/(a + b*x^2)^3,x)

[Out]

-((A*b + B*a)/(4*b^2) + (B*x^2)/(2*b))/(a^2 + b^2*x^4 + 2*a*b*x^2)

________________________________________________________________________________________